/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.kj.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.kj.entity.*;

import java.math.BigDecimal;
import java.util.List;

/**
 * kj_member_integral_historyDAO接口
 * @author hzy
 * @version 2021-07-04
 */
@MyBatisDao
public interface KjMemberIntegralHistoryDao extends CrudDao<KjMemberIntegralHistory> {
	public List<MemberIntegralRank> rank(KjMemberIntegralHistory kjMemberIntegralHistory);
	public MemberIntegralRank memberIntegralRankNum(KjMemberIntegralHistory kjMemberIntegralHistory);
	public MemberIntegralRank memberContributeRankNum(KjMemberIntegralHistory kjMemberIntegralHistory);
	public TeamContributeRank memberTeamContributeRankNum(KjMemberIntegralHistory kjMemberIntegralHistory);
	public List<MemberIntegralRank> contributeRank(KjMemberIntegralHistory kjMemberIntegralHistory);
	public List<TeamContributeRank> teamContributeRank(KjMemberIntegralHistory kjMemberIntegralHistory);

	public List<MemberContributeProject> findMemberContributeProjects(String memberId, String year, String month);
	public BigDecimal getJobIntegrals(KjMemberIntegralHistory kjMemberIntegralHistory);
	public StarLevelEntity getStarLevel(KjMemberIntegralHistory kjMemberIntegralHistory);
}
